<template>
  <div>
    <el-row class="reg-header">
      <el-col :span="8">
        <i class="el-icon-arrow-left"></i>
      </el-col>
      <el-col :span="8" class="reg-header__title">注册</el-col>
    </el-row>
    <el-row>
      <el-form label-width="80px" class="reg-header__form">
        <el-form-item label="用户名">
          <el-input></el-input>
        </el-form-item>
        <el-form-item label="密码">
          <el-input></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary">提交</el-button>
        </el-form-item>
      </el-form>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'login',
  data() {
    return {};
  },
};
</script>

<style scoped>
  .reg-header{
    background: coral;
    color: #fff;
    line-height: 60px;
  }
  .reg-header__title{
    text-align: center;
  }
  .el-icon-arrow-left{
    margin-left: 12px;
  }
  .reg-header__form{
    margin-top: 40px;
  }
</style>
